﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddTable.aspx.cs" Inherits="Table_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 637px; height: 532px">
            <tr>
                <td style="width: 157px; height: 10px">
                    <asp:Label ID="Label4" runat="server" Height="18px" Style="z-index: 100; left: 42px;
                        position: absolute; top: 42px" Text="座位数:" Width="82px"></asp:Label>
                    <asp:Label ID="Label5" runat="server" Height="18px" Style="z-index: 100; left: 25px;
                        position: absolute; top: 137px" Text="平均消费额度:" Width="116px"></asp:Label>
                </td>
                <td style="width: 100px; height: 10px">
                    <asp:TextBox ID="TBSeatNum" runat="server" style="z-index: 100; left: 309px; position: absolute; top: 46px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 157px; height: 8px;">
                </td>
                <td style="width: 100px; height: 8px;">
                    <asp:TextBox ID="TBAverageCost" runat="server" style="z-index: 100; left: 304px; position: absolute; top: 133px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 157px; height: 8px">
                    &nbsp;<asp:Label ID="Label1" runat="server" Text="餐桌类型"></asp:Label></td>
                <td style="width: 100px; height: 8px">
                    &nbsp;<asp:DropDownList ID="ListAttribute" runat="server" DataSourceID="AccessDataSource1"
                        DataTextField="TA_sName" DataValueField="TA_nID" Width="144px" OnSelectedIndexChanged="ListAttribute_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/DB_NCI5.mdb"
                        SelectCommand="SELECT [TA_sName], [TA_nID] FROM [TableAttribute]"></asp:AccessDataSource>
                </td>
            </tr>
            <tr>
                <td style="width: 157px; height: 5px">
                </td>
                <td style="width: 100px; height: 5px">
                    &nbsp;
                    <asp:Button ID="Button2" runat="server"  Style="z-index: 100;
                        left: 385px; position: absolute; top: 488px" Text="返回 " Width="50px" OnClick="Button2_Click" />
                    <asp:Button ID="Button1" runat="server"  Text="提交" Width="49px" style="z-index: 102; left: 296px; position: absolute; top: 489px" OnClick="Button1_Click" /></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
